import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import * as dayjs from 'dayjs'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'

import locale from 'element-plus/lib/locale/lang/zh-cn'
import 'dayjs/locale/zh-cn'
dayjs.locale('zh-cn') // use locale

const app = createApp(App)
app.use(router)
app.use(ElementPlus, { size: 'small', locale })
app.mount('#app')
